<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			document.write('continue语句');
			for (x = 1; x < 10; x++) {
				if (x % 2 == 0) continue;
				document.write(x + '&nbsp');
			}
			document.write('<br>');
			document.write('break语句');
			for (x = 1; x <= 10; x++) {
				if (x % 3 == 0) break;
				document.write(x + '&nbsp');
			}
		</script>
	</body>
</html>